//
//  SPRollView.h
//  rollview
//
//  Created by 还带大道 on 2018/11/3.
//  Copyright © 2018年 还带大道. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SPRollView : UIView
@property (nonatomic,assign) CGFloat margin_firstItem_x;
@property (nonatomic,assign) CGFloat margin_item_x;
//轮播速率 单位是Point/s，以坐标系单位为准 默认60
@property (nonatomic, assign) CGFloat speed;
// 默认1/60
@property (nonatomic,assign) NSTimeInterval timeInterval;
@property (nonatomic,strong) NSArray<NSString *> *msgArray;
+(instancetype)shareInstance;
- (void)startAnimation;
- (void)stopAnimation;

@end
